<template>
	<view class="page">
		<u-navbar :title="title" titleStyle="color:#fff;" :placeholder="true" leftIconColor="#fff" :autoBack="true" bgColor="rgba(0,0,0,0)">
			
		</u-navbar>
		<web-view :src="weburl"></web-view>
		
	</view>
</template>

<script>

	
	export default {
		data() {
			return {
				title: '',
				weburl: '',
			}
		},
		onLoad(opt) {
			this.weburl = decodeURIComponent(opt.weburl)
			console.log(this.weburl);
			this.title = opt.title
			
		},
		methods: {
			left_click() {
				uni.navigateBack();
			},
			
		}
	}
</script>

<style lang="scss" scoped>
	.page {
		flex: 1;
		background: #2C2C2C;
		
	}
	
	.viewpage{
		height: 100%;
	}
	
	
	
	
</style>

